import json
import config


def read_json(file_name):
    file_path = config.BASE_DIR + file_name
    with open(file_path,"r",encoding="utf-8") as f:
        login_json = json.load(f)
        list=[]
        for i in login_json:
            list.append(tuple(i.values()))
    print(list)
    return list





if __name__ == '__main__':
    file_name = "/data/login_data.json"
    read_json(file_name)
